<h3>首頁輪顯圖片</h3>
<div class="content2">
    <form enctype="multipart/form-data" method="post" action="a.php?act=index_images_del">
        <table class="list_table">
        	<thead>
	            <tr style="text-align:center;">
	                <th width="2px"><input type="checkbox" value="" onclick="checkall(this);"></th>
	                <th width="20px">ID</th>
	                <th align="left"><%= t(:a_name)%></th>
	                <th width="" align="left">
	                    圖片鏈接
	                </th>
	                <th width="35">
	                    顯示
	                </th>
	                <th width="85">
	                    添加時間
	                </th>
	                <th width="40">
	                    操作
	                </th>
	            </tr>
        	</thead>
			<tbody>
	            <tr style="text-align:center;">
	                <td>
	                    <input type="checkbox" value="3" name="id[]">
	                </td>
	                <td>
	                    3
	                </td>
	                <td align="left">
	                    <a target="_blank" href=".././uploadfiles/index/2012/02/11/2012021110412514.jpg"></a>
	                </td>
	                <td align="left">
	                    http://
	                </td>
	                <td>
	                    <img onclick="toggle_show(this,'3')" src="skin/images/yes.gif">
	                </td>
	                <td>
	                    2012-02-11
	                </td>
	                <td>
	                    <a onclick="return confirm('確定要刪除這張圖片嗎？');" href="a.php?act=index_images_del&amp;id=3">刪除</a>
	                </td>
	            </tr>
	            <tr style="text-align:center;">
	                <td>
	                    <input type="checkbox" value="2" name="id[]">
	                </td>
	                <td>
	                    2
	                </td>
	                <td align="left">
	                    <a target="_blank" href=".././docs/images/index/2009/12/26/2009122609273594.jpg">iwebshop</a>
	                </td>
	                <td align="left">
	                    http://www.jooyea.net
	                </td>
	                <td>
	                    <img onclick="toggle_show(this,'2')" src="skin/images/yes.gif">
	                </td>
	                <td>
	                    2010-03-23
	                </td>
	                <td>
	                    <a onclick="return confirm('確定要刪除這張圖片嗎？');" href="a.php?act=index_images_del&amp;id=2">刪除</a>
	                </td>
	            </tr>
	            <tr style="text-align:center;">
	                <td>
	                    <input type="checkbox" value="1" name="id[]">
	                </td>
	                <td>
	                    1
	                </td>
	                <td align="left">
	                    <a target="_blank" href=".././docs/images/index/2009/12/26/2009122609225872.jpg">iwebshop</a>
	                </td>
	                <td align="left">
	                    http://www.jooyea.net
	                </td>
	                <td>
	                    <img onclick="toggle_show(this,'1')" src="skin/images/yes.gif">
	                </td>
	                <td>
	                    2010-03-23
	                </td>
	                <td>
	                    <a onclick="return confirm('確定要刪除這張圖片嗎？');" href="a.php?act=index_images_del&amp;id=1">刪除</a>
	                </td>
	            </tr>
	            <tr>
	                <td colspan="8">
	                    <input type="submit" value="刪除" name="" onclick="return confirm('確定要執行此操作嗎？');" class="regular-button">
	                </td>
	            </tr>
			</tbody>
            <tr>
                <td colspan="8">
                    共3條記錄 <a href="?app=index_images&amp;page=1">首頁</a>
                    <a href="?app=index_images&amp;page=1">上一頁</a>
                    <a href="?app=index_images&amp;page=1">下一頁</a>
                    <a href="?app=index_images&amp;page=1">尾頁</a>
                    當前第1頁/共1頁
                </td>
            </tr>
        </table>
    </form>
    <form enctype="multipart/form-data" method="post" action="a.php?act=index_images_upload">
        <input type="hidden" value="1" id="show_right">
        <table class="list_table">
            <tr>
                <td id="upload_img">
                    <span><a href="javascript:addNewUploadSpan();">[+]</a> 描述：<input type="text" maxlength="200" name="img_name[]" class="small-text"> 鏈接*：<input type="text" style="width:200px" maxlength="200" value="http://" name="img_link[]" class="small-text"> 上傳文件*：<input type="file" name="attach[]"></span>
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td width="120px">
                    <input type="submit" value="上傳圖片" name="submit" class="regular-button">
                </td>
                <td>
                    <span>建議上傳大小：940*235    建議上傳格式：jpg格式文件 </span>
                </td>
            </tr>
        </table>
    </form>
</div>